﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_Quarantine
    {
        D_Quarantine dal = new D_Quarantine();
        public static B_Quarantine CreateInstance()
        {
            return new B_Quarantine();
        }
        public bool CreateOneQuarantine(Quarantine_Info Quarantine_Info)
        {

            return dal.CreateOneQuarantine(Quarantine_Info);
        }
        public bool EditOneQuarantine(Quarantine_Info Quarantine_Info)
        {

            return dal.EditOneQuarantine(Quarantine_Info);
        }
        public bool RemoveOneQuarantine(int QuarantineID)
        {

            return dal.RemoveOneQuarantine(QuarantineID);
        }
        public DataTable GetAllQuarantine()
        {
            
            return dal.GetAllQuarantine();
        }
        public Quarantine_Info GetOneQuarantine(int QuarantineID)
        {
            
            return dal.GetOneQuarantine(QuarantineID);
        }
    }
}
